package com.parkingspace.util;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author gaopeng
 * @time 2021/04/19 15:20:37
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ResultVO implements Serializable {
    private Integer code;     // 响应码
    private String msg;     // 响应简要信息
    private Object data;        // 响应的主体数据

    public ResultVO(Integer status, String message) {
        this.code = status;
        this.msg = message;
    }

}
